package com.boyunv.visitor.example01;
/*
 *@description
 * 抽象商品父类
 *@author boyunv
 *@create 2023/9/3 9:19
 *@version 1.0
 */

import lombok.AllArgsConstructor;
import lombok.Data;

import java.time.LocalDate;
@Data
@AllArgsConstructor
public abstract class Product {
    private String name;  //商品名
    private LocalDate producedDate;  // 生产日期
    private double price;  //单品价格
}
